package com.shortvedio.content.service;

import com.shortvedio.content.dto.VideosContentDto;
import com.shortvedio.base.model.Result;

import java.io.IOException;

public interface VedioContentService {

    Result addLike(Long userId, Long videoId);//添加点赞

    Result deleteLie(Long userId,Long videoId);//删除点赞

    Result deleteConcern(Long userId,Long targetUserId);//删除关注

    Result AddConcern(Long userId,Long targetUserId);//添加关注


    Result addFavorites(Long favorites,Long userId,Long videoId);//添加收藏夹

    Result deleteFavorites(Long favorites,Long userId,Long videoId);//删除收藏夹

    Result addVideoContent(VideosContentDto videosContentDto);//添加短视频

    Result issueVideo(Long videoId,Long userId);//发布短视频

    void addLook(Long videoId);//添加观看量

    Result deleteVideo(Long userId,Long videoId) throws IOException; //删除视频

}
